import request from '@/utils/request'

const videoApi = {
  // 仪器分类列表
  getIndustryClassifySelectByLevel(data) {
    return request({
      url: '/webinar/newapi/label/getIndustryClassifySelectByParentId',
      method: 'get',
      params: data
    })
  },
    // OCR识别接口
    getOcr(data) {
      return request({
        url: `/tencent/ocr`,
        method: 'post',
        params: data
      })
    },
    // 主攻行业
    getImIndustry(data) {
      return request({
        url: '/mainindustry/getImIndustry',
        method: 'get',
        params: data
      })
    },
  fuzzySearchSort(data) {
    return request({
      url: `/common/fuzzySearchSort`,
      method: 'get',
      params: data
    })
  },
  getSubscribeIndustry(data) {
    return request({
      url: `/webinar/newapi/company/getSubscribeIndustry`,
      method: 'get',
      params: data
    })
  },
  //提交订阅
  subscribeIndustry(data) {
    return request({
      url: `/webinar/newapi/company/subscribeIndustry`,
      method: 'post',
      data
    })
  },
  listProductSort(data) {
    return request({
      url: `/common/listProductSort`,
      method: 'get',
      params: data
    })
  },
    // 客服
    findSaleByIMListId(data) {
      return request({
        url: `/portal/findSaleByIMListId`,
        method: 'get',
        params: data
      })
    },
  // 视频剪辑
  clipVideo(data) {
    return request({
      url: '/polyv/clipVideo',
      method: 'post',
      data
    })
  },
    // 获取厂商的所有有效服务数量
    getCompanyAllServiceNum(data) {
      return request({
        url: '/webinar/newapi/company/getCompanyAllServiceNum',
        method: 'get',
        params: data
      })
    },
    getProductListByImlistid(data){
      return request({
        url: '/b2b/instrument-service/es/fuzzyQuery',
        method: 'get',
        params: data
      })
    },

}
export default videoApi
